package io.renren.service.impl;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.dao.LineQcodeDao;
import io.renren.entity.LineQcodeEntity;
import io.renren.service.LineQcodeService;


@Service("lineQcodeService")
public class LineQcodeServiceImpl extends ServiceImpl<LineQcodeDao, LineQcodeEntity> implements LineQcodeService {

    @Override
    public LineQcodeEntity getCodeByCodeSn(String codeSn){
        LineQcodeEntity entity = baseMapper.getCodeByCodeSn(codeSn);
        return entity;
    }

    @Override
    public LineQcodeEntity getCodeByDeviceSn(String devicesn){
        LineQcodeEntity entity = baseMapper.getCodeByDeviceSn(devicesn);
        return entity;
    }
}
